import hashlib

def setpassword(password):
    md5 = hashlib.md5()
    md5.update(password.encode())
    result = md5.hexdigest()
    return result

data = setpassword("123456")
print(data)

print("***************")

list = [1,2,3,4]
print(list[:2])
